<?php $this->Session->flash();?>
<?php echo $this->Form->create('User', array('class'=>'form-horizontal', 'inputDefaults'=>array('label'=>false))); ?>
	<fieldset>
		<legend><?php echo __('Add User'); ?></legend>
   <div class="form-group">
        <label for="username" class="col-sm-2 control-label">User name</label>
        <div class="col-sm-10">
            <?php echo $this->Form->input('username',array('placeholder'=>'Username ...'));?>
        </div>
   </div>
   <div class="form-group">
        <label for="username" class="col-sm-2 control-label">Email</label>
        <div class="col-sm-10">
            <?php echo $this->Form->input('email',array('placeholder'=>'Email ...'));?>
        </div>
   </div>
   <div class="form-group">
        <label for="username" class="col-sm-2 control-label">Password</label>
        <div class="col-sm-10">
            <?php echo $this->Form->input('salt',array('placeholder'=>'Password ...'));?>
        </div>
   </div>
   <div class="form-group">
        <label for="username" class="col-sm-2 control-label">Password_Confirm</label>
        <div class="col-sm-10">
            <?php echo $this->Form->input('salt_confirm',array('placeholder'=>'Confirm password...'));?>
        </div>
   </div>
   <div class="form-group">
        <div class="col-sm-5 col-sm-offset-2">
            <?php echo $this->Form->Submit('Register',array('class'=>'btn btn-info'));?>
        </div>
   </div>
	</fieldset>
<?php echo $this->Form->end(); ?>

<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('List Users'), array('action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('List Categories'), array('controller' => 'categories', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Category'), array('controller' => 'categories', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Wallets'), array('controller' => 'wallets', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Wallet'), array('controller' => 'wallets', 'action' => 'add')); ?> </li>
	</ul>
</div>
